package mytest.aop.config.annotation;

import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//这里使用service注解为什么就不行了？？？？
@Component("annService")
public class AnnService implements BusinessService {

    @LogHandler
    @Override
    public void ann() {
        System.out.println("this is ann");
    }
}
